package com.langsin.bean;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author LQWQK
 * @version 1.0
 * @since 2022-06-25 20:27:25
 * javabean 的成员变量 和 数据库表里的字段   没有采用标准的方式   (不多)
 */

public class Teacher {
    private Integer tid;
    private String teacherName;
    private String teacherDisplay;

    public Teacher() {
    }

    public Teacher(Integer tid, String teacherName, String teacherDisplay) {
        this.tid = tid;
        this.teacherName = teacherName;
        this.teacherDisplay = teacherDisplay;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherDisplay() {
        return teacherDisplay;
    }

    public void setTeacherDisplay(String teacherDisplay) {
        this.teacherDisplay = teacherDisplay;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", teacherName='" + teacherName + '\'' +
                ", teacherDisplay='" + teacherDisplay + '\'' +
                '}';
    }
}
